package com.duoduo.admin.repository;

import java.util.Set;

import com.duoduo.admin.entity.SysRoleMenu;
import com.duoduo.common.jpa.repository.CommonRepository;

public interface SysRoleMenuRepository extends CommonRepository<SysRoleMenu, SysRoleMenu> {

	Set<SysRoleMenu> findByRoleId(Long roleId);

	void deleteByRoleId(Long roleId);

}
